package com.zm.admin.quartz.schedule;

import com.zm.admin.quartz.base.BaseQuartz;
import com.zm.admin.utils.ConstantEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/***
 *
 * @Auther: MuYun
 * @Date: 2023/1/29 15:49
 * @Description： 定时任务类
 *
 */
@Slf4j
@Component(ConstantEntity.TaskBean+"errorTask")
public class errorTask implements BaseQuartz {

    /**
     * 任务入口
     * @param params
     * @throws Exception
     */
    @Override
    public void run(String params) throws Exception {
        log.info("进来咯，获取到参数==============>{}",params);
        log.info("errorTask执行完成0.0");
    }
}
